package main.hooks;

import java.util.ArrayList;

public class RSNPCManager {
	public static ArrayList<RSNPC> npcs = null;
	
	public static void addNpc(RSNPC a) {
		npcs.add(a);
	}
	
	public static void removeAllNpcs() {
		npcs.clear();
	}
	
	public static void removeNpc(RSNPC a) {
		npcs.remove(a);
	}
	
	public static boolean isValid(RSNPC a) {
		return npcs.contains(a);
	}

}
